using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YayiMgr.Ability.Docking.DictionaryApp.Dto;
using Youshow.Ace.Ability.Services;

namespace YayiMgr.Ability.Docking.DictionaryApp
{
    public interface IDictionaryTypeServicer: IAbilityServicer
    {
        Task<List<DictionaryTypeDto>> GetAllDictionaryTypes();

        Task<DictionaryTypeDto> GetAllDictionaryTypesById(Guid Id);

        Task<DictionaryTypeDto> AddDictionaryType(DictionaryTypeCreateDto dto);

        Task<DictionaryTypeDto> UpdateDictionaryType(Guid Id, DictionaryTypeUpdateDto dto);

        Task DeleteDictionaryType(Guid Id);
    }
}